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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1071
RA = 183.001, Dec = -23.4494
tmin = 516931201, tmax = 517190401
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='408796', job_status='RUN', time_executed='2021-09-05 03:59:15.422024', time_epoch_executed='1630839555.42' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408796

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408796/ft1_4FGL_J1212.0-2326_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408796/ft1_4FGL_J1212.0-2326_daily_bin1071.fits outfile=/scratch/kocevski/408796/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1071.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=516931201.0 tmax=517190401.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.99
user 3.71
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408796/ft1_filtered_4FGL_J1212.0-2326_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/408796/ltcube_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.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/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits
.....................!
real 11.54
user 11.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408796/ft1_filtered_4FGL_J1212.0-2326_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/408796/ltcube_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.fits outfile=/scratch/kocevski/408796/expmap_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.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/408796/ltcube_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.fits
.....................!
real 189.79
user 184.93
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/408796/ft1_filtered_4FGL_J1212.0-2326_daily_bin1071.fits scfile=/scratch/kocevski/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits outfile=/scratch/kocevski/408796/cmap_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408796/ft1_filtered_4FGL_J1212.0-2326_daily_bin1071.fits scfile=/scratch/kocevski/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits outfile=/scratch/kocevski/408796/cmap_HighResolution_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/408796/ft1_filtered_4FGL_J1212.0-2326_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/408796/ft2_4FGL_J1212.0-2326_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/408796/Model_4FGL_J1212.0-2326_daily_bin1071.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/408796/ft1_filtered_4FGL_J1212.0-2326_daily_bin1071.fits.....................!
real 62.13
user 60.42
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    9.4867       1.0000         .10000E-03   10000.    
     3 'norm      '    .23781       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .60692       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.679       1.0000         .10000E-03   10000.    
     9 'norm      '    .11832E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6913       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.339       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7712       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7129       1.0000         .10000E-03   10000.    
    19 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    7.1366       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.0930       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2514       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89948       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=   7268.854     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2700 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5041       -.49115E-08** at limit **
   2  Prefactor     9.4757        57.179       -.78303E-05   -.12193E-03
   3  norm          .23716        .71825        .28632E-06   -.20372E-03
   4  Prefactor     .10000E-03    17.367        .20340E-05** at limit **
   5  Prefactor     .60664        3.6512        .17789E-06   -.20039E-03
   6  Prefactor     .10000E-03    19.802       -.27084E-05** at limit **
   7  norm          .10000E-03    10.377       -.49574E-07** at limit **
   8  Prefactor     19.682        17.462        .24419E-06   -.31644E-04
   9  norm          .10000E-03    5.0531        .54240E-06** at limit **
  10  Prefactor     8.6909        5.9478       -.80753E-07   -.23886E-03
  11  Prefactor     .10000E-03    26.582        .89822E-06** at limit **
  12  Prefactor     .10000E-03    27.956        .36347E-05** at limit **
  13  Prefactor     14.340        14.652       -.72945E-07   -.11109E-04
  14  Prefactor     .10000E-03    23.281       -.23075E-05** at limit **
  15  Prefactor     .10000E-03    5.0668       -.48393E-06** at limit **
  16  Prefactor     .10000E-03    2.5860        .16653E-07** at limit **
  17  Prefactor     5.7712        2.3386       -.31059E-08   -.47693E-06
  18  Prefactor     4.7122        8.4873        .30093E-05   -.67382E-03
  19  norm          .10000E-03    .41272        .30698E-07** at limit **
  20  Prefactor     .10000E-03    46.452       -.17280E-05** at limit **
  21  norm          7.1360        4.9144        .22310E-07    .65176E-04
  22  Prefactor     7.0926        5.0634        .73270E-07    .55581E-04
  23  Normalizat    1.2515        .22527       -.40495E-06   -.50883E-04
  24  Prefactor     .89943        .10836       -.56031E-07   -.70038E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.47575
  norm       = 0.237159
  Prefactor  = 0.000100001
  Prefactor  = 0.606638
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 19.6816
  norm       = 0.0001
  Prefactor  = 8.69085
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 14.3398
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.77116
  Prefactor  = 4.71221
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 7.13599
  Prefactor  = 7.09261
  Normalizat = 1.25153
  Prefactor  = 0.89943
 **********
 **   18 **HESSE 
 **********

 FCN=   7268.854     FROM HESSE     STATUS=OK           399 CALLS     3099 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5111        .17671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.4757        60.814        .13011E-03   -1.5092    
   3  norm          .23716        .72964        .12059E-03   -1.5611    
   4  Prefactor     .10000E-03    17.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .60664        7.4592        .30870E-02   -1.5552    
   6  Prefactor     .10000E-03    20.276        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.682        17.315        .90287E-04   -1.4820    
   9  norm          .10000E-03    5.1047        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.6909        5.9450        .13597E-03   -1.5118    
  11  Prefactor     .10000E-03    26.639        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.340        14.650        .10577E-03   -1.4950    
  14  Prefactor     .10000E-03    23.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.0836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.5977        .13385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.7712        2.3383        .80677E-04   -1.5227    
  18  Prefactor     4.7122        9.4469        .92679E-03   -1.5274    
  19  norm          .10000E-03    .83807        .10595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    46.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.1360        4.9107        .14615E-03   -1.5174    
  22  Prefactor     7.0926        5.0562        .15062E-03   -1.5175    
  23  Normalizat    1.2515        .26761        .32164E-03   -.85025    
  24  Prefactor     .89943        .12926        .18485E-03   -.96161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93972e-08
Minuit parameter uncertainties:
  1  1.88015e-06
  2  48.0821
  3  0.729668
  4  0.000302765
  5  4.25472
  6  0.000412786
  7  6.52579e-06
  8  17.3197
  9  2.71893e-05
  10  5.94541
  11  0.000157227
  12  0.000704781
  13  14.6541
  14  0.000399648
  15  3.94135e-05
  16  1.47094e-07
  17  2.33833
  18  9.44991
  19  3.00508e-06
  20  0.00043509
  21  4.91098
  22  5.05653
  23  0.26791
  24  0.129303
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.994e-01  1.293e-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.252e+00  2.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.37
Ra Dec: 183.001 -23.449
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.94e-08 +/- 1.98e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.79e-05

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

Saving results to:
/scratch/kocevski/408796/likelihoodResults_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.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): 0
logL (Free Index) = 7268.85397321
delta logL = 7.57752668505e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7268.85391913
delta logL = 0.000129853457111

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.534       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8847       1.0000          .0000       10.000    
     3 'Normalizat'    1.2518       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89948       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.

 FCN=   7268.854     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      277 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.544        20.696        .10506E-03    .89383E-04
   2  Index         1.8855        .78191        .94460E-02    .42104E-03
   3  Normalizat    1.2518        .25789        .32161E-03   -.11011E-03
   4  Prefactor     .89942        .12871        .18486E-03   -.84071E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5441
  Index      = 1.88548
  Normalizat = 1.25175
  Prefactor  = 0.899417
 **********
 **   18 **HESSE 
 **********

 FCN=   7268.854     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.544        19.600        .42024E-05   -1.4945    
   2  Index         1.8855        .74125        .18892E-02   -.67245    
   3  Normalizat    1.2518        .25802        .12865E-04   -.85018    
   4  Prefactor     .89942        .12882        .73942E-05   -.96161    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08308e-10
Minuit parameter uncertainties:
  1  19.6091
  2  0.745761
  3  0.258284
  4  0.128862
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408796': 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) = 7268.85391642
delta logL = 0.000132564371597

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  8.994e-01  1.289e-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.252e+00  2.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.37
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 1.89 +/- 0.75
Photon Flux (Free Index): 1.90e-08 +/- 2.83e-08
Energy Flux (Free Index): 1.78e-05 +/- 2.54e-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/408796/cmap_HighResolution_516931201_517190401_4FGL_J1212.0-2326_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.97e-03', comment='SUCCESS', photon_flux='1.94e-08', energy_flux2='1.78e-05', photon_flux_error='1.98e-08', dlogl='1.33e-04', energy_flux='1.75e-05', photon_flux2='1.90e-08', job_status='DONE', time_completed='2021-09-05 04:11:48.379001', photon_index_error2='0.75', photon_index2='1.89', ts='3.37', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='8.03e-08', energy_flux_error2='2.54e-05', EG='1.25', time_epoch_completed='1630840308.38', return_code='0', job_id='408796', GAL2='0.90', EG2='1.25', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='2.83e-08', ts2='3.37', photon_index='1.90' WHERE bin_id='1071' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:11:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 408796: <4FGL_J1212.0-2326_daily_bin1071> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1071> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 03:55:55 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:55:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 03:55:57 2021
Terminated at Sun Sep  5 04:11:49 2021
Results reported at Sun Sep  5 04:11:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1071 183.001 -23.4494 516931201 517190401 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 :                                   748.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             279.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            954 sec.

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

