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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1347
RA = 183.001, Dec = -23.4494
tmin = 588470401, tmax = 588729601
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='410383', job_status='RUN', time_executed='2021-09-05 04:01:30.173920', time_epoch_executed='1630839690.17' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1347'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410383

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410383/ft1_4FGL_J1212.0-2326_daily_bin1347.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410383/ft1_4FGL_J1212.0-2326_daily_bin1347.fits outfile=/scratch/kocevski/410383/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1347.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=588470401.0 tmax=588729601.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.83
user 4.58
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410383/ft1_filtered_4FGL_J1212.0-2326_daily_bin1347.fits" evtable="EVENTS" scfile=/scratch/kocevski/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits sctable="SC_DATA" outfile=/scratch/kocevski/410383/ltcube_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.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/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits
.....................!
real 11.87
user 11.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410383/ft1_filtered_4FGL_J1212.0-2326_daily_bin1347.fits evtable="EVENTS" scfile=/scratch/kocevski/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits sctable="SC_DATA" expcube=/scratch/kocevski/410383/ltcube_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.fits outfile=/scratch/kocevski/410383/expmap_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.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/410383/ltcube_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.fits
.....................!
real 191.51
user 185.01
sys 5.26

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/410383/ft1_filtered_4FGL_J1212.0-2326_daily_bin1347.fits scfile=/scratch/kocevski/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits outfile=/scratch/kocevski/410383/cmap_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410383/ft1_filtered_4FGL_J1212.0-2326_daily_bin1347.fits scfile=/scratch/kocevski/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits outfile=/scratch/kocevski/410383/cmap_HighResolution_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.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/410383/ft1_filtered_4FGL_J1212.0-2326_daily_bin1347.fits evtable="EVENTS" scfile=/scratch/kocevski/410383/ft2_4FGL_J1212.0-2326_daily_bin1347.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410383/Model_4FGL_J1212.0-2326_daily_bin1347.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/410383/ft1_filtered_4FGL_J1212.0-2326_daily_bin1347.fits.....................!
real 52.34
user 50.99
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.614       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.478       1.0000         .10000E-03   10000.    
     9 'norm      '    .10054E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10926E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.612       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1107       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10716E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21352E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.4681       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.3416       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7845       1.0000         .10000E-03   10000.    
    20 'Prefactor '    15.393       1.0000         .10000E-03   10000.    
    21 'norm      '    11.833       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1363       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1223       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=   5696.865     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2670 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.8678        .25373E-07** at limit **
   2  Prefactor     .10000E-03    75.838       -.23598E-05** at limit **
   3  norm          .10000E-03    .68611        .99634E-07** at limit **
   4  Prefactor     .10000E-03    60.563       -.17981E-05** at limit **
   5  Prefactor     12.616        9.2683        .39950E-06    .29277E-04
   6  Prefactor     .10000E-03    35.477       -.95289E-06** at limit **
   7  norm          .10000E-03    10.606        .11932E-06** at limit **
   8  Prefactor     19.470        18.346       -.27520E-06   -.17485E-04
   9  norm          .10000E-03    3.3349        .69671E-07** at limit **
  10  Prefactor     .10000E-03    5.8669       -.10332E-05** at limit **
  11  Prefactor     .10000E-03    78.313       -.19224E-05** at limit **
  12  Prefactor     19.592        37.775        .13063E-05   -.34727E-04
  13  Prefactor     1.0875        81.533        .32133E-04   -.42105E-04
  14  Prefactor     .10000E-03    44.626        .32589E-05** at limit **
  15  Prefactor     .10000E-03    99.262        .42277E-05** at limit **
  16  Prefactor     .10000E-03    4.5282        .10437E-06** at limit **
  17  Prefactor     9.4684        3.5465        .42956E-07   -.35335E-04
  18  Prefactor     8.3415        18.682       -.17116E-06   -.41979E-04
  19  norm          3.7844        1.7485       -.41441E-07   -.50671E-03
  20  Prefactor     15.332        269.88        .19474E-04    .23088E-04
  21  norm          11.839        10.726       -.40675E-06   -.19017E-05
  22  Prefactor     .10000E-03    4.9018       -.90161E-06** at limit **
  23  Normalizat    1.1360        .30704       -.28182E-06   -.14653E-03
  24  Prefactor     1.1224        .14961       -.11666E-05   -.26356E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.616
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.4697
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 19.5923
  Prefactor  = 1.08752
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.46844
  Prefactor  = 8.34147
  norm       = 3.78438
  Prefactor  = 15.3325
  norm       = 11.8386
  Prefactor  = 0.000100001
  Normalizat = 1.13604
  Prefactor  = 1.12238
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.865     FROM HESSE     STATUS=OK           391 CALLS     3061 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    75.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .69447        .61046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    60.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.616        9.2884        .11279E-03   -1.4997    
   6  Prefactor     .10000E-03    35.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.470        18.365        .90751E-04   -1.4825    
   9  norm          .10000E-03    3.3500        .13443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.9551        .17865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    78.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.592        37.652        .90441E-04   -1.4822    
  13  Prefactor     1.0875        81.660        .22406E-02   -1.5499    
  14  Prefactor     .10000E-03    44.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    99.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5472        .15680E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.4684        3.5461        .84517E-04   -1.5092    
  18  Prefactor     8.3415        18.681        .13880E-03   -1.5130    
  19  norm          3.7844        1.7475        .64619E-04   -1.5319    
  20  Prefactor     15.332        270.55        .10209E-03   -1.4925    
  21  norm          11.839        10.664        .11645E-03   -1.5020    
  22  Prefactor     .10000E-03    4.9550        .16324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1360        .35811        .39107E-03   -.88603    
  24  Prefactor     1.1224        .17500        .19421E-03   -.88754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08729e-10
Minuit parameter uncertainties:
  1  1.65121e-05
  2  0.000126814
  3  5.01896e-06
  4  5.59314e-05
  5  9.28942
  6  0.000136676
  7  1.10342e-05
  8  18.3703
  9  5.89671e-06
  10  0.000146625
  11  0.000178538
  12  37.6975
  13  18.8734
  14  0.000249368
  15  0.000223005
  16  1.32958e-05
  17  3.54618
  18  18.694
  19  1.74755
  20  129.501
  21  10.666
  22  0.000114322
  23  0.35888
  24  0.175093
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.088e+00  1.887e+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:  1.122e+00  1.751e-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.136e+00  3.589e-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: 9.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410383/likelihoodResults_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.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) = 5696.8248865
delta logL = 0.0404325794461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5696.82111262
delta logL = 0.0442064590634

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1110       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7494       1.0000          .0000       10.000    
     3 'Normalizat'    1.1252       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1227       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=   5696.821     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      230 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1235        240.71        .11199E-01    .98591E-03
   2  Index         2.7446        5.4543        .77931E-01    .19099E-03
   3  Normalizat    1.1252        .74926E-01    .88672E-01    .13478E-04
   4  Prefactor     1.1227        .35346E-01    .36781E-01   -.21289E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12351
  Index      = 2.74458
  Normalizat = 1.12518
  Prefactor  = 1.1227
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.821     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      261 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1235        626.78        .26772E-03   -1.5496    
   2  Index         2.7446        8.5726        .17065E-01   -.46798    
   3  Normalizat    1.1252        .29417        .39271E-03   -.88947    
   4  Prefactor     1.1227        .11664        .19416E-03   -.88744    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.66302e-06
Minuit parameter uncertainties:
  1  53.645
  2  18.0014
  3  0.294603
  4  0.116671
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410383': 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) = 5696.82111113
delta logL = 0.0442079543163

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.124e+00  5.364e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  2.745e+00  1.800e+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:  1.123e+00  1.167e-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.125e+00  2.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 183.001 -23.449

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/410383/cmap_HighResolution_588470401_588729601_4FGL_J1212.0-2326_daily_bin1347.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-03', job_status='DONE', photon_flux_upper_limit='9.19e-08', time_completed='2021-09-05 04:12:24.266446', job_id='410383', GAL2='1.12', fit_tolerance='1e-08', EG2='1.13', EG='1.14', time_epoch_completed='1630840344.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='4.42e-02', ts2='0.09', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1347' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:12:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 410383: <4FGL_J1212.0-2326_daily_bin1347> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1347> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:00:53 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:00:55 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:55 2021
Terminated at Sun Sep  5 04:12:25 2021
Results reported at Sun Sep  5 04:12:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1347 183.001 -23.4494 588470401 588729601 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 :                                   645.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            692 sec.

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

