/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 6 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 = 7278
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2212.9-2526_daily_bin203
RA = 333.226, Dec = -25.4335
tmin = 291945601, tmax = 292204801
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='219917', job_status='RUN', time_executed='2021-09-28 06:56:06.773345', time_epoch_executed='1632837366.77' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219917

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219917/ft1_4FGL_J2212.9-2526_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219917/ft1_4FGL_J2212.9-2526_daily_bin203.fits outfile=/scratch/kocevski/219917/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin203.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=291945601.0 tmax=292204801.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.75
user 3.53
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.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/219917/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin203.fits evtable="EVENTS" outfile="/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.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.30
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits" evtable="EVENTS" scfile=/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits sctable="SC_DATA" outfile=/scratch/kocevski/219917/ltcube_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.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/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits
.....................!
real 11.51
user 11.17
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/219917/ltcube_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.fits outfile=/scratch/kocevski/219917/expmap_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.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/219917/ltcube_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.fits
.....................!
real 192.50
user 187.47
sys 4.72

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits scfile=/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits outfile=/scratch/kocevski/219917/cmap_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.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=333.226 yref=-25.4335 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits scfile=/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits outfile=/scratch/kocevski/219917/cmap_HighResolution_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.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=333.226 yref=-25.4335 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.53
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219917/Model_4FGL_J2212.9-2526_daily_bin203.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/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits.....................!
real 60.07
user 58.77
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits', '/scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits', expMap='/scratch/kocevski/219917/expmap_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.fits', expCube='/scratch/kocevski/219917/ltcube_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/219917/Model_4FGL_J2212.9-2526_daily_bin203.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/219917/ft1_filtered_4FGL_J2212.9-2526_daily_bin203.fits
Spacecraft file(s): /scratch/kocevski/219917/ft2_4FGL_J2212.9-2526_daily_bin203.fits
Exposure map: /scratch/kocevski/219917/expmap_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.fits
Exposure cube: /scratch/kocevski/219917/ltcube_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/219917/Model_4FGL_J2212.9-2526_daily_bin203.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) = 7586.95612551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.1317       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .11131E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.862       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.607       1.0000         .10000E-03   10000.    
     8 'norm      '    11.248       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.934       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1685       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.727       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3597       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3902       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.508       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3505       1.0000         .10000E-03   10000.    
    18 'Prefactor '    25.120       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.144       1.0000         .10000E-03   10000.    
    20 'norm      '    4.1703       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .89920       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.9392       1.0000         .10000E-03   10000.    
    23 'norm      '    .46358       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.4253       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .86867       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0324       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7586.932     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     3136 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9016        .18788E-07** at limit **
   2  Prefactor     6.1318        4.8853        .47016E-07    .50208E-05
   3  Prefactor     .10000E-03    4.8337        .81400E-07** at limit **
   4  norm          .10004E-03    6.7711       -.30387E-05** at limit **
   5  Prefactor     17.866        14.515       -.30572E-06    .14310E-04
   6  Prefactor     .10000E-03    10.852        .10878E-06** at limit **
   7  Prefactor     19.606        47.089        .31972E-06   -.71017E-05
   8  norm          11.247        4.7011       -.11228E-06   -.52651E-04
   9  Prefactor     11.934        11.691        .13516E-06    .58247E-05
  10  norm          1.1685        .35649        .66421E-08   -.33980E-03
  11  Prefactor     12.725        10.019        .74735E-08    .12960E-04
  12  Prefactor     6.3592        13.423        .12673E-06    .62049E-05
  13  Prefactor     3.3883        7.0891        .13223E-05    .88183E-03
  14  Prefactor     .10000E-03    23.729       -.67549E-06** at limit **
  15  norm          .10000E-03    6.3833       -.24543E-06** at limit **
  16  Prefactor     17.506        12.156        .49937E-06   -.40326E-04
  17  norm          1.3500        1.8906       -.17553E-06    .86608E-03
  18  Prefactor     25.136        46.386       -.35511E-05   -.60049E-04
  19  Prefactor     16.143        11.269        .74826E-07    .18798E-04
  20  norm          4.1708        4.3153       -.16888E-05   -.51457E-03
  21  Prefactor     .90984        91.444        .25049E-04   -.38658E-03
  22  Prefactor     9.9262        14.299       -.43046E-05   -.83732E-03
  23  norm          .46350        .72154       -.60670E-06   -.23083E-02
  24  Prefactor     2.4288        6.2986        .22479E-05    .89636E-03
  25  Normalizat    .86893        .18725        .87238E-06   -.30305E-03
  26  Prefactor     1.0322        .14146       -.89023E-06    .20452E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 6.13185
  Prefactor  = 0.0001
  norm       = 0.000100037
  Prefactor  = 17.8664
  Prefactor  = 0.0001
  Prefactor  = 19.6062
  norm       = 11.2473
  Prefactor  = 11.9338
  norm       = 1.16851
  Prefactor  = 12.7249
  Prefactor  = 6.35924
  Prefactor  = 3.38832
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 17.5061
  norm       = 1.35005
  Prefactor  = 25.1362
  Prefactor  = 16.1434
  norm       = 4.1708
  Prefactor  = 0.909838
  Prefactor  = 9.92616
  norm       = 0.463503
  Prefactor  = 2.42878
  Normalizat = 0.868932
  Prefactor  = 1.03222
 **********
 **   18 **HESSE 
 **********

 FCN=   7586.932     FROM HESSE     STATUS=OK           478 CALLS     3614 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9036        .11730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.1318        4.8867        .16213E-03   -1.5213    
   3  Prefactor     .10000E-03    4.8522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10004E-03    32.223        .35951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.866        14.512        .94765E-04   -1.4862    
   6  Prefactor     .10000E-03    10.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.606        47.076        .90453E-04   -1.4822    
   8  norm          11.247        4.6989        .10595E-03   -1.5037    
   9  Prefactor     11.934        11.690        .11596E-03   -1.5017    
  10  norm          1.1685        .35740        .26802E-04   -1.5492    
  11  Prefactor     12.725        10.034        .11228E-03   -1.4994    
  12  Prefactor     6.3592        13.410        .15916E-03   -1.5204    
  13  Prefactor     3.3883        7.9941        .10987E-02   -1.5340    
  14  Prefactor     .10000E-03    23.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.3824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.506        12.211        .95720E-04   -1.4871    
  17  norm          1.3500        1.8485        .12440E-03   -1.5476    
  18  Prefactor     25.136        46.549        .79925E-04   -1.4705    
  19  Prefactor     16.143        11.325        .99683E-04   -1.4904    
  20  norm          4.1708        4.4332        .15387E-03   -1.5299    
  21  Prefactor     .90984        226.35        .43664E-02   -1.5517    
  22  Prefactor     9.9262        17.898        .12710E-03   -1.5078    
  23  norm          .46350        .66806        .66634E-03   -1.5572    
  24  Prefactor     2.4288        7.8384        .13140E-02   -1.5396    
  25  Normalizat    .86893        .22827        .28844E-03   -.97561    
  26  Prefactor     1.0322        .16883        .21749E-03   -.91663    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1384e-08
Minuit parameter uncertainties:
  1  4.89955e-07
  2  4.887
  3  6.6968e-06
  4  0.00219477
  5  14.515
  6  2.97481e-06
  7  47.1653
  8  4.69904
  9  11.6919
  10  0.357397
  11  10.035
  12  13.4161
  13  7.99658
  14  3.94305e-06
  15  4.4829e-05
  16  12.2123
  17  1.84854
  18  46.6163
  19  11.3264
  20  4.43354
  21  28.8107
  22  17.9078
  23  0.66807
  24  7.84175
  25  0.228524
  26  0.168921
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  6.359e+00  1.342e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.032e+00  1.689e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.689e-01  2.285e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/219917/likelihoodResults_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.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) = 7586.91437653
delta logL = 0.0175492285944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7586.9118119
delta logL = 0.0201138596158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4706       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4731       1.0000          .0000       10.000    
     3 'Normalizat'    .86558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0336       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   7586.912     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      260 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4557        13.925        .85896E-03   -.63530E-05
   2  Index         2.4749        1.2176        .11376E-01    .25583E-03
   3  Normalizat    .86559        .19701        .28895E-03   -.26479E-04
   4  Prefactor     1.0336        .16053        .21735E-03   -.58583E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45568
  Index      = 2.47495
  Normalizat = 0.865588
  Prefactor  = 1.03365
 **********
 **   18 **HESSE 
 **********

 FCN=   7586.912     FROM HESSE     STATUS=OK            27 CALLS      287 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4557        12.768        .34358E-04   -1.5241    
   2  Index         2.4749        1.1191        .22753E-02   -.52939    
   3  Normalizat    .86559        .19717        .11558E-04   -.97680    
   4  Prefactor     1.0336        .16062        .86940E-05   -.91616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30823e-12
Minuit parameter uncertainties:
  1  12.7743
  2  1.13204
  3  0.197338
  4  0.160698
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219917': 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) = 7586.9118104
delta logL = 0.0201153564949

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.456e+00  1.277e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.475e+00  1.132e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.034e+00  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  8.656e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.28
Ra Dec: 333.226 -25.433

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/219917/cmap_HighResolution_291945601_292204801_4FGL_J2212.9-2526_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.50e-08', time_completed='2021-09-28 07:08:41.673999', job_id='219917', GAL2='1.03', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632838121.67', return_code2='0', ts='0.28', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.01e-02', ts2='0.32', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='203' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:08:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 219917: <4FGL_J2212.9-2526_daily_bin203> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin203> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:55:50 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:55:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:55:52 2021
Terminated at Tue Sep 28 07:08:42 2021
Results reported at Tue Sep 28 07:08:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin203 333.226 -25.4335 291945601 292204801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   751.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             328.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            772 sec.

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

