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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin854
RA = 183.001, Dec = -23.4494
tmin = 460684801, tmax = 460944001
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='408413', job_status='RUN', time_executed='2021-09-05 03:55:47.644799', time_epoch_executed='1630839347.64' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='854'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/408413

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/408413/ft1_4FGL_J1212.0-2326_daily_bin854.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/408413/ft2_4FGL_J1212.0-2326_daily_bin854.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/408413/ft1_4FGL_J1212.0-2326_daily_bin854.fits outfile=/scratch/kocevski/408413/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin854.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=460684801.0 tmax=460944001.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.35
user 3.11
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/408413/ft1_filtered_4FGL_J1212.0-2326_daily_bin854.fits" evtable="EVENTS" scfile=/scratch/kocevski/408413/ft2_4FGL_J1212.0-2326_daily_bin854.fits sctable="SC_DATA" outfile=/scratch/kocevski/408413/ltcube_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.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/408413/ft2_4FGL_J1212.0-2326_daily_bin854.fits
.....................!
real 12.00
user 11.61
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/408413/ft1_filtered_4FGL_J1212.0-2326_daily_bin854.fits evtable="EVENTS" scfile=/scratch/kocevski/408413/ft2_4FGL_J1212.0-2326_daily_bin854.fits sctable="SC_DATA" expcube=/scratch/kocevski/408413/ltcube_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.fits outfile=/scratch/kocevski/408413/expmap_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.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/408413/ltcube_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.fits
.....................!
real 190.49
user 185.43
sys 4.54

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/408413/ft1_filtered_4FGL_J1212.0-2326_daily_bin854.fits scfile=/scratch/kocevski/408413/ft2_4FGL_J1212.0-2326_daily_bin854.fits outfile=/scratch/kocevski/408413/cmap_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/408413/ft1_filtered_4FGL_J1212.0-2326_daily_bin854.fits scfile=/scratch/kocevski/408413/ft2_4FGL_J1212.0-2326_daily_bin854.fits outfile=/scratch/kocevski/408413/cmap_HighResolution_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.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.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    95.413       1.0000         .10000E-03   10000.    
     3 'norm      '    .74173       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.103       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11256E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .43226E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    12.749       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .58167E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45139E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15417E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.514       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.419       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.170       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.821       1.0000         .10000E-03   10000.    
    19 'norm      '    1.9448       1.0000         .10000E-03   10000.    
    20 'Prefactor '    53.381       1.0000         .10000E-03   10000.    
    21 'norm      '    2.3236       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10671E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.5275       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .80547       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=   5996.017     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     2841 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3110        .96048E-08** at limit **
   2  Prefactor     95.389        68.071        .88444E-06    .14025E-03
   3  norm          .74370        1.3605        .31713E-07    .58489E-03
   4  Prefactor     12.147        39.093        .11472E-05    .76266E-04
   5  Prefactor     .10000E-03    7.3133       -.93015E-07** at limit **
   6  Prefactor     .10000E-03    23.365        .15806E-07** at limit **
   7  norm          .10000E-03    15.383       -.37908E-07** at limit **
   8  Prefactor     .10040E-03    151.86        .81565E-05** at limit **
   9  norm          12.738        8.3695        .86393E-06    .39712E-04
  10  Prefactor     .10001E-03    3.3494       -.34134E-06** at limit **
  11  Prefactor     .10000E-03    56.276       -.93101E-07** at limit **
  12  Prefactor     .10000E-03    11.531       -.38284E-07** at limit **
  13  Prefactor     .10010E-03    30.456       -.26324E-05** at limit **
  14  Prefactor     .10001E-03    139.75        .34269E-05** at limit **
  15  Prefactor     31.530        33.748        .17204E-07    .11804E-03
  16  Prefactor     10.419        6.6954       -.57814E-07    .21040E-04
  17  Prefactor     10.170        3.4996       -.20172E-07    .96063E-04
  18  Prefactor     15.827        18.211        .73235E-08    .10986E-03
  19  norm          1.9452        1.4828        .16268E-06    .13006E-02
  20  Prefactor     53.460        93.076        .68271E-06    .17805E-05
  21  norm          2.3312        8.0209       -.42868E-06    .85802E-03
  22  Prefactor     .10001E-03    5.6037       -.35254E-06** at limit **
  23  Normalizat    1.5267        .28490        .14346E-05    .48855E-03
  24  Prefactor     .80592        .13139        .31302E-06    .80402E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 95.389
  norm       = 0.743696
  Prefactor  = 12.1469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100403
  norm       = 12.7377
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100101
  Prefactor  = 0.000100007
  Prefactor  = 31.5302
  Prefactor  = 10.4192
  Prefactor  = 10.1697
  Prefactor  = 15.8272
  norm       = 1.94516
  Prefactor  = 53.4604
  norm       = 2.33125
  Prefactor  = 0.000100005
  Normalizat = 1.52669
  Prefactor  = 0.805919
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.017     FROM HESSE     STATUS=OK           405 CALLS     3246 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3128        .15702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     95.389        67.727        .20574E-03   -1.3751    
   3  norm          .74370        1.1350        .11677E-02   -1.5535    
   4  Prefactor     12.147        39.187        .11515E-03   -1.5011    
   5  Prefactor     .10000E-03    7.4705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    15.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10040E-03    187.22        .63537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          12.738        8.4571        .11218E-03   -1.4994    
  10  Prefactor     .10001E-03    25.221        .26927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    56.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10010E-03    28.562        .11417       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    140.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     31.530        33.794        .71375E-04   -1.4584    
  16  Prefactor     10.419        6.7006        .12413E-03   -1.5062    
  17  Prefactor     10.170        3.5010        .81338E-04   -1.5070    
  18  Prefactor     15.827        18.223        .10069E-03   -1.4912    
  19  norm          1.9452        1.4708        .77465E-04   -1.5429    
  20  Prefactor     53.460        98.193        .54897E-04   -1.4244    
  21  norm          2.3312        10.031        .13454E-02   -1.5403    
  22  Prefactor     .10001E-03    45.889        .31152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.5267        .34030        .32911E-03   -.77031    
  24  Prefactor     .80592        .15796        .20799E-03   -.99511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22595e-09
Minuit parameter uncertainties:
  1  2.11768e-06
  2  67.782
  3  1.13503
  4  39.2706
  5  4.5034e-05
  6  1.5314e-05
  7  1.98046e-05
  8  0.017429
  9  8.45788
  10  0.000943134
  11  6.56995e-05
  12  1.74615e-05
  13  0.00339635
  14  0.00205929
  15  33.8141
  16  6.70106
  17  3.50104
  18  18.2297
  19  1.47081
  20  98.492
  21  9.6741
  22  0.000964566
  23  0.340818
  24  0.158048
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.001e-04  3.396e-03  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.059e-01  1.580e-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.527e+00  3.408e-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.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/408413/likelihoodResults_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.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) = 5996.0174209
delta logL = -1.04715536509e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5996.01742089
delta logL = -1.04652399386e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96365E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8975       1.0000          .0000       10.000    
     3 'Normalizat'    1.5267       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80592       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5995.773     FROM MIGRAD    STATUS=CONVERGED    184 CALLS      365 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5979        284.88        .90522E-03   -.68505E-03
   2  Index         2.7896        6.1775        .59215E-02   -.12326E-03
   3  Normalizat    1.4956        .32580        .33180E-03   -.54788E-03
   4  Prefactor     .80567        .15660        .20793E-03   -.32614E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.59787
  Index      = 2.78958
  Normalizat = 1.49562
  Prefactor  = 0.805675
 **********
 **   18 **HESSE 
 **********

 FCN=   5995.773     FROM HESSE     STATUS=OK            25 CALLS      390 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5979        8.0971        .36209E-04   -1.5386    
   2  Index         2.7896        1.0098        .23686E-03   -.45792    
   3  Normalizat    1.4956        .33118        .66360E-04   -.77902    
   4  Prefactor     .80567        .15715        .41586E-04   -.99519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33296e-09
Minuit parameter uncertainties:
  1  8.10055
  2  1.01851
  3  0.331662
  4  0.157237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/408413': 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) = 5995.77268924
delta logL = 0.244721186672

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  2.598e+00  8.101e+00  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  2.790e+00  1.019e+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:  8.057e-01  1.572e-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.496e+00  3.317e-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/408413/cmap_HighResolution_460684801_460944001_4FGL_J1212.0-2326_daily_bin854.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.29e-03', job_status='DONE', photon_flux_upper_limit='9.80e-08', time_completed='2021-09-05 04:07:09.816315', job_id='408413', GAL2='0.81', fit_tolerance='1e-08', EG2='1.50', EG='1.53', time_epoch_completed='1630840029.82', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.45e-01', ts2='0.49', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='854' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:07:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 408413: <4FGL_J1212.0-2326_daily_bin854> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin854> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 03:55:26 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 03:55:28 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:28 2021
Terminated at Sun Sep  5 04:07:10 2021
Results reported at Sun Sep  5 04:07:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin854 183.001 -23.4494 460684801 460944001 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 :                                   678.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             335.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

