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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1330
RA = 183.001, Dec = -23.4494
tmin = 584064001, tmax = 584323201
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='410358', job_status='RUN', time_executed='2021-09-05 04:01:57.081826', time_epoch_executed='1630839717.08' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1330'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410358

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410358/ft1_4FGL_J1212.0-2326_daily_bin1330.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410358/ft1_4FGL_J1212.0-2326_daily_bin1330.fits outfile=/scratch/kocevski/410358/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1330.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=584064001.0 tmax=584323201.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.47
user 4.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410358/ft1_filtered_4FGL_J1212.0-2326_daily_bin1330.fits" evtable="EVENTS" scfile=/scratch/kocevski/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits sctable="SC_DATA" outfile=/scratch/kocevski/410358/ltcube_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.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/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits
.....................!
real 12.49
user 12.07
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410358/ft1_filtered_4FGL_J1212.0-2326_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits sctable="SC_DATA" expcube=/scratch/kocevski/410358/ltcube_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.fits outfile=/scratch/kocevski/410358/expmap_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.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/410358/ltcube_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.fits
.....................!
real 190.98
user 184.87
sys 5.55

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/410358/ft1_filtered_4FGL_J1212.0-2326_daily_bin1330.fits scfile=/scratch/kocevski/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits outfile=/scratch/kocevski/410358/cmap_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410358/ft1_filtered_4FGL_J1212.0-2326_daily_bin1330.fits scfile=/scratch/kocevski/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits outfile=/scratch/kocevski/410358/cmap_HighResolution_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=183.001 yref=-23.4494 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410358/ft1_filtered_4FGL_J1212.0-2326_daily_bin1330.fits evtable="EVENTS" scfile=/scratch/kocevski/410358/ft2_4FGL_J1212.0-2326_daily_bin1330.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410358/Model_4FGL_J1212.0-2326_daily_bin1330.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/410358/ft1_filtered_4FGL_J1212.0-2326_daily_bin1330.fits.....................!
real 52.45
user 51.11
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9746       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.941       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16704       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.025       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.807       1.0000         .10000E-03   10000.    
     9 'norm      '    .22040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    128.24       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.4678       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3642       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.4822       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.7758       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.8710       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    2.0179       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83333       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=   5652.001     FROM MIGRAD    STATUS=CONVERGED    578 CALLS     2761 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9758        18.376       -.71425E-07   -.32265E-04
   2  Prefactor     .10000E-03    39.036        .92511E-05** at limit **
   3  norm          .10000E-03    1.0491        .16118E-07** at limit **
   4  Prefactor     20.903        57.132       -.30750E-05   -.14663E-04
   5  Prefactor     .52099E-01    8.2662        .14733E-05   -.35037E-03
   6  Prefactor     12.219        51.973        .61896E-05   -.40256E-05
   7  norm          .10000E-03    7.3539        .19129E-07** at limit **
   8  Prefactor     17.839        20.571       -.35049E-05    .28749E-03
   9  norm          .10019E-03    6.5403        .13115E-05** at limit **
  10  Prefactor     .10000E-03    4.4807        .35504E-06** at limit **
  11  Prefactor     128.26        91.868       -.70421E-06    .72336E-04
  12  Prefactor     .10000E-03    34.270       -.37254E-05** at limit **
  13  Prefactor     5.4619        40.064        .34317E-05    .99790E-05
  14  Prefactor     .10000E-03    30.627        .32259E-05** at limit **
  15  Prefactor     3.2849        170.42        .75773E-05    .30408E-05
  16  Prefactor     .10000E-03    2.6711       -.10077E-09** at limit **
  17  Prefactor     6.4817        2.8742        .85289E-07   -.19112E-04
  18  Prefactor     .10000E-03    14.784       -.40723E-07** at limit **
  19  norm          1.7750        1.7649        .31628E-06   -.65271E-04
  20  Prefactor     .10000E-03    47.624       -.41744E-05** at limit **
  21  norm          6.8696        7.0798        .28325E-06   -.10458E-04
  22  Prefactor     .10000E-03    3.9785        .36681E-08** at limit **
  23  Normalizat    2.0191        .31718       -.24830E-05   -.76467E-04
  24  Prefactor     .83308        .15085       -.17033E-05   -.80009E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.97581
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.9028
  Prefactor  = 0.0520989
  Prefactor  = 12.2191
  norm       = 0.0001
  Prefactor  = 17.8392
  norm       = 0.000100188
  Prefactor  = 0.0001
  Prefactor  = 128.263
  Prefactor  = 0.0001
  Prefactor  = 5.46192
  Prefactor  = 0.0001
  Prefactor  = 3.28491
  Prefactor  = 0.0001
  Prefactor  = 6.48173
  Prefactor  = 0.0001
  norm       = 1.77503
  Prefactor  = 0.0001
  norm       = 6.86963
  Prefactor  = 0.0001
  Normalizat = 2.01907
  Prefactor  = 0.833084
 **********
 **   18 **HESSE 
 **********

 FCN=   5652.001     FROM HESSE     STATUS=OK           405 CALLS     3166 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9758        18.375        .12688E-03   -1.5076    
   2  Prefactor     .10000E-03    39.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.1014        .15033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.903        57.216        .87526E-04   -1.4793    
   5  Prefactor     .52099E-01    11.143        .56815E-01   -1.5662    
   6  Prefactor     12.219        53.462        .11552E-03   -1.5009    
   7  norm          .10000E-03    7.3543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.839        20.646        .94913E-04   -1.4863    
   9  norm          .10019E-03    33.366        .34563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.5106        .15539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     128.26        91.542        .17775E-03   -1.3438    
  12  Prefactor     .10000E-03    34.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.4619        39.761        .17184E-03   -1.5241    
  14  Prefactor     .10000E-03    30.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.2849        169.88        .22063E-03   -1.5345    
  16  Prefactor     .10000E-03    2.6781        .11997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.4817        2.8744        .82529E-04   -1.5199    
  18  Prefactor     .10000E-03    14.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.7750        1.7504        .93423E-04   -1.5442    
  20  Prefactor     .10000E-03    47.592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.8696        7.0688        .15306E-03   -1.5184    
  22  Prefactor     .10000E-03    3.9898        .14630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.0191        .38120        .33038E-03   -.64073    
  24  Prefactor     .83308        .17978        .22721E-03   -.98520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68681e-09
Minuit parameter uncertainties:
  1  18.3858
  2  0.000274037
  3  9.09835e-06
  4  57.367
  5  1.52268
  6  51.1949
  7  2.87137e-06
  8  20.6541
  9  0.00500777
  10  9.78864e-07
  11  91.6436
  12  6.78247e-05
  13  29.5009
  14  6.30221e-05
  15  47.3882
  16  5.15771e-06
  17  2.87448
  18  5.15293e-05
  19  1.7505
  20  9.44094e-05
  21  7.06961
  22  6.38398e-06
  23  0.381775
  24  0.179911
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  5.462e+00  2.950e+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.331e-01  1.799e-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:  2.019e+00  3.818e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410358/likelihoodResults_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.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) = 5651.89762415
delta logL = 0.103696621644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5651.89476352
delta logL = 0.106557250846

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4296       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4964       1.0000          .0000       10.000    
     3 'Normalizat'    2.0062       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83221       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=   5651.895     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      259 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4346        37.578        .19134E-03    .90254E-04
   2  Index         2.4959        1.9566        .96943E-02    .53948E-04
   3  Normalizat    2.0063        .37362        .33107E-03    .87688E-03
   4  Prefactor     .83219        .17636        .22721E-03    .15391E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.4346
  Index      = 2.4959
  Normalizat = 2.00626
  Prefactor  = 0.832192
 **********
 **   18 **HESSE 
 **********

 FCN=   5651.895     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4346        15.284        .76535E-05   -1.5287    
   2  Index         2.4959        1.1865        .38777E-03   -.52455    
   3  Normalizat    2.0063        .37058        .66214E-04   -.64394    
   4  Prefactor     .83219        .17522        .45442E-04   -.98552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31084e-09
Minuit parameter uncertainties:
  1  15.2977
  2  1.20188
  3  0.371118
  4  0.175337
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410358': 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) = 5651.89476341
delta logL = 0.106557358274

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  4.435e+00  1.530e+01  1.000e-04  1.000e+04 ( 1.000e-14)
298        Index:  2.496e+00  1.202e+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.322e-01  1.753e-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:  2.006e+00  3.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
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/410358/cmap_HighResolution_584064001_584323201_4FGL_J1212.0-2326_daily_bin1330.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-09-05 04:13:41.916888', job_id='410358', GAL2='0.83', fit_tolerance='1e-08', EG2='2.01', EG='2.02', time_epoch_completed='1630840421.92', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.07e-01', ts2='0.26', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1330' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 04:13:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 410358: <4FGL_J1212.0-2326_daily_bin1330> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1330> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep  5 04:00:52 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 04:00:54 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:54 2021
Terminated at Sun Sep  5 04:13:42 2021
Results reported at Sun Sep  5 04:13:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1330 183.001 -23.4494 584064001 584323201 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 :                                   652.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             282.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

