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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1551
RA = 183.001, Dec = -23.4494
tmin = 641347201, tmax = 641606401
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='411840', job_status='RUN', time_executed='2021-09-05 04:07:14.560396', time_epoch_executed='1630840034.56' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/411840

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/411840/ft1_4FGL_J1212.0-2326_daily_bin1551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/411840/ft1_4FGL_J1212.0-2326_daily_bin1551.fits outfile=/scratch/kocevski/411840/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1551.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=641347201.0 tmax=641606401.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 2.79
user 2.57
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.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/411840/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1551.fits evtable="EVENTS" outfile="/scratch/kocevski/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.fits" evtable="EVENTS" scfile=/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits sctable="SC_DATA" outfile=/scratch/kocevski/411840/ltcube_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.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/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits
.....................!
real 12.54
user 12.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.fits evtable="EVENTS" scfile=/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits sctable="SC_DATA" expcube=/scratch/kocevski/411840/ltcube_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.fits outfile=/scratch/kocevski/411840/expmap_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.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/411840/ltcube_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.fits
.....................!
real 190.21
user 185.25
sys 4.49

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/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.fits scfile=/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits outfile=/scratch/kocevski/411840/cmap_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.fits scfile=/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits outfile=/scratch/kocevski/411840/cmap_HighResolution_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.fits evtable="EVENTS" scfile=/scratch/kocevski/411840/ft2_4FGL_J1212.0-2326_daily_bin1551.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/411840/Model_4FGL_J1212.0-2326_daily_bin1551.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/411840/ft1_filtered_4FGL_J1212.0-2326_daily_bin1551.fits......................!
real 34.66
user 32.31
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.4213       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5105       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10226E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    198.99       1.0000         .10000E-03   10000.    
     9 'norm      '    .31109E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10195E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.892       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.2718       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0644       1.0000         .10000E-03   10000.    
    18 'Prefactor '    121.41       1.0000         .10000E-03   10000.    
    19 'norm      '    10.446       1.0000         .10000E-03   10000.    
    20 'Prefactor '    405.75       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .57540       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1705       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=   2471.877     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2689 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.536       -.21670E-06** at limit **
   2  Prefactor     .10000E-03    43.624       -.30221E-05** at limit **
   3  norm          2.4212        2.0574        .11848E-06   -.26810E-04
   4  Prefactor     .10000E-03    35.134        .14969E-05** at limit **
   5  Prefactor     8.5085        10.412        .22563E-06   -.51582E-04
   6  Prefactor     .10000E-03    20.532       -.81456E-06** at limit **
   7  norm          .10000E-03    30.184        .30683E-05** at limit **
   8  Prefactor     199.04        54.648       -.47391E-05   -.41875E-03
   9  norm          .10129E-03    15.681        .86684E-05** at limit **
  10  Prefactor     .10000E-03    12.735        .65802E-06** at limit **
  11  Prefactor     .10000E-03    61.859        .37231E-05** at limit **
  12  Prefactor     25.893        81.367        .19154E-05   -.98467E-05
  13  Prefactor     .10000E-03    19.150        .20786E-05** at limit **
  14  Prefactor     .10000E-03    42.659       -.25825E-05** at limit **
  15  Prefactor     7.2597        246.96       -.46347E-05   -.32106E-06
  16  Prefactor     .10000E-03    5.7669       -.88969E-08** at limit **
  17  Prefactor     3.0648        3.7341        .51767E-07    .15626E-04
  18  Prefactor     121.38        73.831       -.25213E-05   -.11145E-04
  19  norm          10.446        6.6252        .32278E-06    .17826E-04
  20  Prefactor     405.43        420.71       -.32646E-04   -.65636E-05
  21  norm          .10000E-03    23.349       -.17876E-05** at limit **
  22  Prefactor     .10000E-03    20.398       -.78415E-06** at limit **
  23  Normalizat    .57532        .50896       -.79219E-05   -.90050E-04
  24  Prefactor     1.1706        .24952       -.56246E-06   -.24110E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42115
  Prefactor  = 0.0001
  Prefactor  = 8.50846
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 199.039
  norm       = 0.000101288
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.8932
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.25966
  Prefactor  = 0.0001
  Prefactor  = 3.06482
  Prefactor  = 121.385
  norm       = 10.4461
  Prefactor  = 405.431
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.575316
  Prefactor  = 1.17059
 **********
 **   18 **HESSE 
 **********

 FCN=   2471.877     FROM HESSE     STATUS=OK           389 CALLS     3078 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.622        .17862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    43.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4212        2.0408        .61599E-04   -1.5397    
   4  Prefactor     .10000E-03    35.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.5085        10.378        .13741E-03   -1.5124    
   6  Prefactor     .10000E-03    20.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    30.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     199.04        55.306        .14321E-03   -1.2877    
   9  norm          .10129E-03    158.46        .32569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.834        .17249E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    61.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.893        80.790        .78727E-04   -1.4690    
  13  Prefactor     .10000E-03    19.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    42.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.2597        246.33        .14874E-03   -1.5169    
  16  Prefactor     .10000E-03    5.7695        .11661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0648        3.7317        .10349E-03   -1.5358    
  18  Prefactor     121.38        73.702        .18263E-03   -1.3500    
  19  norm          10.446        6.6259        .98839E-04   -1.5061    
  20  Prefactor     405.43        420.38        .10137E-03   -1.1653    
  21  norm          .10000E-03    23.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .57532        .52000        .52234E-03   -1.0904    
  24  Prefactor     1.1706        .26308        .19492E-03   -.87241    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.9355e-09
Minuit parameter uncertainties:
  1  6.24634e-05
  2  3.14145e-05
  3  2.04084
  4  4.73604e-05
  5  10.3804
  6  5.67006e-06
  7  4.42017e-05
  8  55.32
  9  0.0286459
  10  4.05362e-05
  11  1.64399e-05
  12  81.134
  13  1.5783e-05
  14  6.21846e-06
  15  84.9576
  16  9.81379e-06
  17  3.73197
  18  73.758
  19  6.62632
  20  423.625
  21  7.64294e-05
  22  3.06027e-05
  23  0.524504
  24  0.26337
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.000e-04  1.578e-05  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.171e+00  2.634e-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:  5.753e-01  5.245e-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: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/411840/likelihoodResults_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.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) = 2471.8772655
delta logL = -0.000198281447865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2471.87722563
delta logL = -0.00015841006325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62158E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8915       1.0000          .0000       10.000    
     3 'Normalizat'    .57519       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1706       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   2471.877     FROM MIGRAD    STATUS=FAILED        92 CALLS      238 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10852E-03    26.939        .18886E-01** at limit **
   2  Index         1.3921        5.6372        .50000        .23759E-05
   3  Normalizat    .57532        .10652E-01    .52236E-03   -.12112E-04
   4  Prefactor     1.1706        .55582E-02    .19492E-03   -.11140E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2471.877     FROM SIMPLEX   STATUS=UNCHANGED    106 CALLS      344 TOTAL
                     EDM=   .81E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10852E-03    26.939        .81599E-03** at limit **
   2  Index         1.3921        5.6372        .20942E-02    .23759E-05
   3  Normalizat    .57532        .10652E-01    .10918E-04   -.12112E-04
   4  Prefactor     1.1706        .55582E-02    .66805E-05   -.11140E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2471.877     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      377 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10228E-03    348.98        .26181E-02** at limit **
   2  Index         1.4704        8.3548        .50000        .34247E-05
   3  Normalizat    .57532        .39703E-01    .20894E-04   -.12079E-04
   4  Prefactor     1.1706        .20718E-01    .77966E-05   -.10936E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102278
  Index      = 1.47045
  Normalizat = 0.575316
  Prefactor  = 1.17059
 **********
 **   18 **HESSE 
 **********

 FCN=   2471.877     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      406 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10228E-03    1478.2        .52362E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4704        5.8244        .50000       -.78371    
   3  Normalizat    .57532        .87796E-01    .41789E-05   -1.0904    
   4  Prefactor     1.1706        .45827E-01    .15593E-05   -.87241    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.16142e-08
Minuit parameter uncertainties:
  1  0.119136
  2  2232.18
  3  0.0878176
  4  0.0458281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/411840': 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) = 2471.87706644
delta logL = 7.86671080277e-07

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.023e-04  1.191e-01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  1.470e+00  2.232e+03  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.171e+00  4.583e-02  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:  5.753e-01  8.782e-02  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/411840/cmap_HighResolution_641347201_641606401_4FGL_J1212.0-2326_daily_bin1551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2021-09-05 04:14:59.468719', job_id='411840', GAL2='1.17', fit_tolerance='1e-08', EG2='0.58', EG='0.58', time_epoch_completed='1630840499.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='7.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1551' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:14:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 411840: <4FGL_J1212.0-2326_daily_bin1551> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1551> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep  5 04:05:31 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:05:32 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:32 2021
Terminated at Sun Sep  5 04:15:00 2021
Results reported at Sun Sep  5 04:15:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1551 183.001 -23.4494 641347201 641606401 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 :                                   458.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   567 sec.
    Turnaround time :                            569 sec.

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

